home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1997 September
/
Macworld (1997-09).dmg
/
Shareware World
/
Comms & Internet
/
SB114
/
Plugins
/
rand
< prev
next >
Wrap
Text File
|
1997-01-01
|
591b
|
20 lines
'Sample Plugin
'© John Bafford, 1996-1997
*COMMAND rand -1 0
*GLOBAL str string
*GLOBAL str lastnick no one
*GLOBAL int integer
*GLOBAL bool boolean
*GLOBAL int times 0
*ENDCONF
@SET string string of
@SET integer 123123
@SET boolean TRUE
@ADDONE times
SAY $NICK, $GLOBAL:lastnick. was the last person to use this plugin. This plugin has been used $GLOBAL:times. times since this bot has been up.
SAY $NICK, your random number is $RAND:int:1,8., and your random nick is $RAND:nick.
SAY Your globals are "$GLOBAL:string.", "$GLOBAL:integer.", and "$GLOBAL:boolean.".
@SET lastnick $NICK
@END